package cn.retalsystem.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Date;

/**
 * @Author: 官宝星
 * @Date: 2019/11/6 22:50
 * @Version 1.0
 * @描述：
 */
@Controller
public class DemoController {

    @RequestMapping("datedemo")
    @ResponseBody
    public void demo(Date day){
        System.out.println(day);
    }
}
